package cn.cdeden.knowledge.domain;

import cn.cdeden.knowledge.domain.dto.FilesAttentionDto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Data;

/**
 * 我的关注
 */
@Data
@TableName(value = "files_attention")
@AutoMappers({@AutoMapper(target = FilesAttentionDto.class)})
public class FilesAttention {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "user_id")
    private Long userId;

    @TableField(value = "tree_node_id")
    private String treeNodeId;

    @TableField(value = "file_type")
    private Integer fileType;

    @TableField(value = "update_user_id")
    private Integer updateUserId;

    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "library_id")
    private Long libraryId;
}
